/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package BLO;

import DAO.ProductDAO;
import DTO.Products;
import Util.SupportUtil;

/**
 *
 * @author DatPLT
 */
public class ProductBLO {
    public void ProductsToXML(String xmlFilePath){
        ProductDAO dao = new ProductDAO();
        Products product = new Products(dao.GetAllProducts());
        System.out.print("sdsd");
        SupportUtil.marshal(xmlFilePath, product);
    }
}
